﻿package com.sz.ticket.bmo;

import java.util.List;
import java.util.Map;

public interface ITicketBMO {
	
	@SuppressWarnings("unchecked")
	public long addTicket(Map map) throws Exception;
	
	@SuppressWarnings("unchecked")
	public List queryTicket(Map map) throws Exception;
	
	@SuppressWarnings("unchecked")
	public long queryTicketCount(Map map) throws Exception;
	
	@SuppressWarnings("unchecked")
	public List queryTicketPage(Map map) throws Exception;
	
	@SuppressWarnings("unchecked")
	public String lockTickets(List list) throws Exception;
	
	@SuppressWarnings("unchecked")
	public String cancelTicket(Map map) throws Exception;
	
	@SuppressWarnings("unchecked")
	public Map editTicket(Map map) throws Exception;
	
	@SuppressWarnings("unchecked")
	public String nextStatus(Map map) throws Exception;
	
	@SuppressWarnings("unchecked")
	public String confirmfailedTicket(Map map) throws Exception;
	
	@SuppressWarnings("unchecked")
	public List queryBusinessTickets(Map map) throws Exception;
	
	@SuppressWarnings("unchecked")
	public long queryBusinessTicketsCount(Map map) throws Exception;
	
	@SuppressWarnings("unchecked")
	public List queryBusinessTicketsPage(Map map) throws Exception;
	
	@SuppressWarnings("unchecked")
	public void checkTicket_Business(Map map) throws Exception;
	
	@SuppressWarnings("unchecked")
	public void checkTicket_Custom(Map map) throws Exception;

	@SuppressWarnings("unchecked")
	public Map confirmTicket(Map map) throws Exception;
	
	@SuppressWarnings("unchecked")
	public List queryBusinessRecommand(Map map) throws Exception;
	
	@SuppressWarnings("unchecked")
	public List queryTicketLog(Map map) throws Exception;
}
